<?php

namespace App\Http\Models\Business;

use App\Http\Models\BaseModel;

class InvoiceTargetContractYear extends BaseModel
{
    protected $table = 'invoice_target_contract_year';
    public $timestamps = false;

    public function sales_region()
    {
        return $this->belongsTo('App\Http\Models\SalesRegion', 'sales_region_code', 'code');
    }

    public function category_contract()
    {
        return $this->belongsTo('App\Http\Models\CategoryContract', 'category_contract_id', 'id');
    }
}
